home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / Glib / unix-make < prev    next >
Text File  |  1989-03-16  |  609b  |  24 lines

  1. CFLAGS = -O
  2.  
  3. OBJ = machdep.o glib.o list.o dx100.o tx81z.o tx81p.o dw8000.o yama_com.o
  4.  
  5. #LIBS = -lcurses -ltermcap
  6. LIBS = -lcurses
  7.  
  8. glib : $(OBJ)
  9.     cc $(OBJ) $(LIBS) -o glib
  10.  
  11. # On the UNIX PC (at least mine), cbreak() and nocbreak() aren't in
  12. # libcurses.a so this hack (-DFAKECBREAK) is one way out.
  13. machdep.o : machdep.c
  14.     # On the UNIX PC, add a -DFAKECBREAK to the following line
  15.     cc $(CFLAGS) -c machdep.c
  16.  
  17. lint :
  18.     lint glib.c list.c machdep.c dx100.c dw8000.c tx81z.c tx81p.c \
  19.     yama_com.c
  20.  
  21. st-arc :
  22.     arc a glib.arc glib.c list.c dx100.c tx81z.c tx81p.c glib.h \
  23.     yama_com.c dw8000.c  st-mach.c st-mach.h
  24.